package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.SyncLoanDiffLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * DAO Interface: 借据信息差异表
 *
 * @author gcb
 * @date 2020-04-24
 */
public interface SyncLoanDiffLogDao {
    /**
     * 新增数据
     *
     * @param syncLoanDiffLog
     * @return
     */
    int insert(SyncLoanDiffLog syncLoanDiffLog);

    /**
     * 根据主键删除信息
     *
     * @param syncLoanDiffLog
     * @return
     */
    int deleteByPk(SyncLoanDiffLog syncLoanDiffLog);

    /**
     * 根据主键更新信息
     *
     * @param syncLoanDiffLog
     * @return
     */
    int updateByPk(SyncLoanDiffLog syncLoanDiffLog);

    /**
     * 根据主键查询详情
     *
     * @param syncLoanDiffLog
     * @return
     */
    SyncLoanDiffLog queryByPk(SyncLoanDiffLog syncLoanDiffLog);

    int batchInsert(@Param("list") List<SyncLoanDiffLog> list);
}